package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.OutcomeManage;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;
import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IOutcomeManageService {

    void saveOrUpdate(OutcomeManage entity);

    OutcomeManage selectByPrimaryKey(Long id);

    List<OutcomeManage> selectAll();

    PageResult quey4List(QueryObject qo);

    /**
     * 根据qo条件在实现类中将xls查询返回
     * @param qo
     * @return
     */
    Workbook exportXls(QueryObject qo);

    void delete(Long id);

    /**
     * 根据id审核数据
     * @param id
     */
    void auditor(Long id);
}
